package com.bjsxt.livegoods.feedback.service.controller;

import com.bjsxt.livegoods.feedback.service.service.FeedbackService;
import com.bjsxt.livegoods.feedback.serviceapi.FeedbackServiceAPI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;
//服务提供者-订单评论控制器
@RestController
public class FeedbackServiceController implements FeedbackServiceAPI {
    @Autowired
    private FeedbackService feedbackService;

    @Override
    public Map<String, Object> feedback(String feedback, String orderId) {
        return feedbackService.insertFeedback(feedback,orderId);
    }
}
